package me.yobol.greentable.bean;

import java.io.Serializable;

/**
 * @author Yobol
 *
 */
public class CartCommodityBean implements Serializable {

	private static final long serialVersionUID = -1665848226277119973L;
	
	private int commodityId;
	private int ingredientId;
	private int commodityQuantity;
	private int customerId;
	
	public CartCommodityBean(){
		
	}

	public CartCommodityBean(int ingredientId ,int commodityQuantity, int customerId) {
		this.ingredientId = ingredientId;
		this.commodityQuantity = commodityQuantity;
		this.customerId = customerId;
	}
	
	public CartCommodityBean(int commodityId, int ingredientId,
			int commodityQuantity, int customerId) {
		this(ingredientId,commodityQuantity,customerId);
		this.commodityId = commodityId;
	}

	public int getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(int commodityId) {
		this.commodityId = commodityId;
	}

	public int getIngredientId() {
		return ingredientId;
	}
	public void setIngredientId(int ingredientId) {
		this.ingredientId = ingredientId;
	}

	public int getCommodityQuantity() {
		return commodityQuantity;
	}

	public void setCommodityQuantity(int commodityQuantity) {
		this.commodityQuantity = commodityQuantity;
	}

	public int getCustomerId() {
		return customerId;
	}

	public void setCustomerId(int customerId) {
		this.customerId = customerId;
	}
}
